package eteam.aps.systeminterface.model.reqparam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "修改个人密码请求参数")
public class ModifySelfPwdParam {
    @ApiModelProperty("用户原密码")
    @NotEmpty(message = "原密码为空")
    private String oldpwd;
    @ApiModelProperty("用户新密码")
    @NotEmpty(message = "新密码为空")
    private String newpwd;
}
